/**
 * Created by lipeng on 16/12/7.
 */

var config = require("../config");

/**
 * 获取数据库配置
 */
var env = config.mysql.environment;
var mysql_config = config.mysql[env];
if(mysql_config == undefined){
    mysql_config =  config.mysql.dev;
}

exports.get_mysql_config = mysql_config;

